    <!--Catalog Grid-->
      <section class="catalog-grid">
        <div class="container">
          <h2 class="primary-color"><?php echo $cate[0]->name;?></h2>
          <div class="row">
            
  <?php 
  foreach ($paginator as $v) {?>
            
            <!--Tile-->
          	<div class="col-lg-3 col-md-5 col-sm-6">
            	<div class="tile">
              	<a href="<?php echo $this->url('home', array('action'=>'detail','id'=>$v->video_id));?>">
                  <img style="max-height:170px" src="<?php echo $this->basePath('/photo/').$v->image;?>" alt="8"/>
                </a>
                <div class="footer" style="padding: 6px 12px 12px 12px !important;">
                	<a style="color: #000000;font-size: 12px;font-weight: bold !important;">
                    <?php echo $v->title;?>
                  </a>
                </div>
              </div>
            </div>
            <!--END Tile-->
         
<?php }?>
 </div>
        </div>
      </section><!--Catalog Grid Close-->

 <?php
 echo $this->paginationControl(
     // the paginator object
     $this->paginator,
     // the scrolling style
     'sliding',
     // the partial to use to render the control
     array('partial/paginator.phtml', 'Home'),
     // the route to link to when a user clicks a control link
     array(
         'route' => 'home'
     )
 );
 ?>
